len = input()
number = int(len)

k=number*2-10
print(k)